import realImg from './real-img'

const install = function(Vue) {
  Vue.directive('real-img', realImg)
}

if (window.Vue) {
  window.realImg = realImg;
  Vue.use(install); // eslint-disable-line
}

realImg.install = install;
export default realImg

